package com.ychug.service.cms.entity;
import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 站点管理表 cms_site
 * 
 * @author mcpcms
 * @date 2019-04-25
 */
public class CmsSiteEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 站点编号 */
	private Integer siteId;
	/** 站点名称 */
	private String siteName;
	/** 站点简称 */
	private String sitePath;
	/** 关键字 */
	private String keywords;
	/** 域名 */
	private String domainName;
	/** 访问协议 */
	private String accessProtocol;
	/** 访问地址 */
	private String accessPath;
	/** 模板名称 */
	private String templateName;
	/** 模板路径 */
	private String templatePath;
	/** 是否主站:0、否1、是 */
	private String isMaster;
	/** 排序 */
	private String sort;
	/** 0、删除 1、正常 */
	private String status;
	/** 备注 */
	private String remark;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	public void setSiteId(Integer siteId) 
	{
		this.siteId = siteId;
	}

	public Integer getSiteId() 
	{
		return siteId;
	}
	public void setSiteName(String siteName) 
	{
		this.siteName = siteName;
	}

	public String getSiteName() 
	{
		return siteName;
	}
	public void setSitePath(String sitePath) 
	{
		this.sitePath = sitePath;
	}

	public String getSitePath() 
	{
		return sitePath;
	}
	public void setKeywords(String keywords) 
	{
		this.keywords = keywords;
	}

	public String getKeywords() 
	{
		return keywords;
	}
	public void setDomainName(String domainName) 
	{
		this.domainName = domainName;
	}

	public String getDomainName() 
	{
		return domainName;
	}
	public void setAccessProtocol(String accessProtocol) 
	{
		this.accessProtocol = accessProtocol;
	}

	public String getAccessProtocol() 
	{
		return accessProtocol;
	}
	public void setAccessPath(String accessPath) 
	{
		this.accessPath = accessPath;
	}

	public String getAccessPath() 
	{
		return accessPath;
	}
	public void setTemplateName(String templateName) 
	{
		this.templateName = templateName;
	}

	public String getTemplateName() 
	{
		return templateName;
	}
	public void setTemplatePath(String templatePath) 
	{
		this.templatePath = templatePath;
	}

	public String getTemplatePath() 
	{
		return templatePath;
	}
	public void setIsMaster(String isMaster) 
	{
		this.isMaster = isMaster;
	}

	public String getIsMaster() 
	{
		return isMaster;
	}
	public void setSort(String sort) 
	{
		this.sort = sort;
	}

	public String getSort() 
	{
		return sort;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("siteId", getSiteId())
            .append("siteName", getSiteName())
            .append("sitePath", getSitePath())
            .append("keywords", getKeywords())
            .append("domainName", getDomainName())
            .append("accessProtocol", getAccessProtocol())
            .append("accessPath", getAccessPath())
            .append("templateName", getTemplateName())
            .append("templatePath", getTemplatePath())
            .append("isMaster", getIsMaster())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
